<template>
        <div class="demo-input-suffix">
        项目状态:
        <el-select v-model="value" placeholder="请选择">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value">
          </el-option>
        </el-select>
         <el-button icon="el-icon-plus"  class="save" @click="addProductHandle"  type="primary">添加</el-button>
      </div>

</template>

<script>
export default {
  data(){
    return {
        options:[{value:"1",label:"施工中"},{value:"2",label:"已完成"}],
        value:"--全部--"
    }
  },
  methods: {
    addProductHandle(){
        this.$bus.$emit("onAddProject",true)
    }
  }

}
</script>

<style scoped>

.demo-input-suffix{
  margin-top: 20px;
  text-align: left;

}
.select{
  margin-left: 10px;
}

.save{
   margin-left: 10px;
   border: none;
   border: 2px solid #409EFF;
   background-color: white;
   color: #409EFF;

}
</style>